home *** CD-ROM | disk | FTP | other *** search
Unknown | 2000-04-04 | 1.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 80 09 2e 62 20 43 4f 4d | 50 41 52 45 5f 53 54 52 |...b COM|PARE_STR|
|00000010| 49 4e 47 53 7b 73 74 72 | 31 2e 6c 2c 73 74 72 32 |INGS{str|1.l,str2|
|00000020| 2e 6c 7d 00 3b 20 43 61 | 73 65 20 69 6e 73 65 6e |.l}.; Ca|se insen|
|00000030| 73 69 74 69 76 65 20 63 | 6f 6d 70 61 72 65 2e 00 |sitive c|ompare..|
|00000040| 3b 20 20 74 77 6f 20 73 | 74 72 69 6e 67 73 20 61 |; two s|trings a|
|00000050| 72 65 20 65 71 75 61 6c | 20 69 66 20 74 68 65 79 |re equal| if they|
|00000060| 20 61 72 65 20 64 69 66 | 66 65 72 65 6e 74 20 6c | are dif|ferent l|
|00000070| 65 6e 67 74 68 73 20 61 | 6e 64 20 74 68 65 00 3b |engths a|nd the.;|
|00000080| 20 20 6f 6e 6c 79 20 64 | 69 66 66 65 72 65 6e 63 | only d|ifferenc|
|00000090| 65 20 69 73 20 74 72 61 | 69 6c 69 6e 67 20 73 70 |e is tra|iling sp|
|000000a0| 61 63 65 73 2e 00 00 2e | 63 6f 6d 70 61 72 65 5f |aces....|compare_|
|000000b0| 73 74 72 69 6e 67 73 00 | 20 20 20 20 20 20 20 20 |strings.| |
|000000c0| 20 80 80 2e 6c 20 20 64 | 30 2c 61 30 00 20 20 20 | ...l d|0,a0. |
|000000d0| 20 20 20 20 20 20 80 80 | 2e 6c 20 20 64 31 2c 61 | ..|.l d1,a|
|000000e0| 31 00 00 20 20 20 20 20 | 20 20 20 20 80 7e 2e 62 |1.. | .~.b|
|000000f0| 20 20 20 23 39 36 2c 64 | 32 00 20 20 20 20 20 20 | #96,d|2. |
|00000100| 20 20 20 80 7e 2e 62 20 | 20 20 23 31 32 33 2c 64 | .~.b | #123,d|
|00000110| 33 00 20 20 20 20 20 20 | 20 20 20 80 7e 2e 62 20 |3. | .~.b |
|00000120| 20 20 23 24 44 46 2c 64 | 34 00 20 20 20 20 20 20 | #$DF,d|4. |
|00000130| 20 20 20 80 7e 2e 62 20 | 20 20 23 24 32 30 2c 64 | .~.b | #$20,d|
|00000140| 35 00 00 27 66 65 74 63 | 68 3a 20 20 80 7e 2e 62 |5..'fetc|h: .~.b|
|00000150| 20 20 20 28 61 31 29 2b | 2c 64 31 20 20 20 3b 20 | (a1)+|,d1 ; |
|00000160| 67 65 74 20 73 65 63 6f | 6e 64 20 73 74 72 69 6e |get seco|nd strin|
|00000170| 67 20 63 68 61 72 61 63 | 74 65 72 00 20 20 20 20 |g charac|ter. |
|00000180| 20 20 20 20 20 80 48 20 | 20 20 20 20 20 27 74 65 | .H | 'te|
|00000190| 73 74 31 20 20 20 20 20 | 3b 20 73 65 63 6f 6e 64 |st1 |; second|
|000001a0| 20 73 74 72 69 6e 67 20 | 69 73 20 65 6e 64 65 64 | string |is ended|
|000001b0| 00 20 20 20 20 20 20 20 | 20 20 80 7e 2e 62 20 20 |. | .~.b |
|000001c0| 20 28 61 30 29 2b 2c 64 | 30 20 20 20 3b 20 67 65 | (a0)+,d|0 ; ge|
|000001d0| 74 20 66 69 72 73 74 20 | 73 74 72 69 6e 67 20 63 |t first |string c|
|000001e0| 68 61 72 61 63 74 65 72 | 00 20 20 20 20 20 20 20 |haracter|. |
|000001f0| 20 20 80 48 20 20 20 20 | 20 20 27 74 65 73 74 32 | .H | 'test2|
|00000200| 20 20 20 20 20 3b 20 66 | 69 72 73 74 20 73 74 72 | ; f|irst str|
|00000210| 69 6e 67 20 69 73 20 65 | 6e 64 65 64 00 00 20 20 |ing is e|nded.. |
|00000220| 20 20 20 20 20 20 20 80 | 5c 2e 62 20 20 20 20 64 | .|\.b d|
|00000230| 30 2c 64 31 20 20 20 20 | 20 20 3b 20 43 68 65 63 |0,d1 | ; Chec|
|00000240| 6b 20 69 66 20 63 68 61 | 72 61 63 74 65 72 73 20 |k if cha|racters |
|00000250| 61 72 65 20 65 71 75 61 | 6c 00 20 20 20 20 20 20 |are equa|l. |
|00000260| 20 20 20 80 48 20 20 20 | 20 20 20 27 66 65 74 63 | .H | 'fetc|
|00000270| 68 20 20 20 20 20 3b 20 | 2e 2e 2e 20 69 66 20 73 |h ; |... if s|
|00000280| 6f 2c 20 67 6f 20 67 65 | 74 20 74 68 65 20 6e 65 |o, go ge|t the ne|
|00000290| 78 74 20 70 61 69 72 00 | 00 20 20 20 20 20 20 20 |xt pair.|. |
|000002a0| 20 20 80 5c 2e 62 20 20 | 20 20 64 32 2c 64 30 00 | .\.b | d2,d0.|
|000002b0| 20 20 20 20 20 20 20 20 | 20 80 4c 20 20 20 20 20 | | .L |
|000002c0| 20 27 6e 6f 75 70 31 00 | 20 20 20 20 20 20 20 20 | 'noup1.| |
|000002d0| 20 80 5c 2e 62 20 20 20 | 20 64 33 2c 64 30 00 20 | .\.b | d3,d0. |
|000002e0| 20 20 20 20 20 20 20 20 | 80 49 20 20 20 20 20 20 | |.I |
|000002f0| 27 6e 6f 75 70 31 00 20 | 20 20 20 20 20 20 20 20 |'noup1. | |
|00000300| 80 42 2e 62 20 20 20 20 | 64 34 2c 64 30 00 00 27 |.B.b |d4,d0..'|
|00000310| 6e 6f 75 70 31 3a 20 20 | 80 5c 2e 62 20 20 20 20 |noup1: |.\.b |
|00000320| 64 32 2c 64 31 00 20 20 | 20 20 20 20 20 20 20 80 |d2,d1. | .|
|00000330| 4c 20 20 20 20 20 20 27 | 6e 6f 75 70 32 00 20 20 |L '|noup2. |
|00000340| 20 20 20 20 20 20 20 80 | 5c 2e 62 20 20 20 20 64 | .|\.b d|
|00000350| 33 2c 64 31 00 20 20 20 | 20 20 20 20 20 20 80 49 |3,d1. | .I|
|00000360| 20 20 20 20 20 20 27 6e | 6f 75 70 32 00 20 20 20 | 'n|oup2. |
|00000370| 20 20 20 20 20 20 80 42 | 2e 62 20 20 20 20 64 34 | .B|.b d4|
|00000380| 2c 64 31 00 00 27 6e 6f | 75 70 32 3a 20 20 80 5c |,d1..'no|up2: .\|
|00000390| 2e 62 20 20 20 20 64 30 | 2c 64 31 20 20 20 20 20 |.b d0|,d1 |
|000003a0| 20 20 3b 20 63 68 65 63 | 6b 20 69 66 20 6c 65 74 | ; chec|k if let|
|000003b0| 74 65 72 73 20 61 72 65 | 20 73 61 6d 65 00 20 20 |ters are| same. |
|000003c0| 20 20 20 20 20 20 20 80 | 48 20 20 20 20 20 20 27 | .|H '|
|000003d0| 66 65 74 63 68 20 20 20 | 20 20 20 3b 20 69 66 20 |fetch | ; if |
|000003e0| 74 68 65 79 20 61 72 65 | 2c 20 6d 6f 76 65 20 6f |they are|, move o|
|000003f0| 6e 74 6f 20 6e 65 78 74 | 20 6c 65 74 74 65 72 00 |nto next| letter.|
|00000400| 20 20 20 20 20 20 20 20 | 20 80 58 20 20 20 20 20 | | .X |
|00000410| 20 27 65 78 69 74 20 20 | 20 20 20 20 20 3b 20 69 | 'exit | ; i|
|00000420| 66 20 6e 6f 74 2c 20 65 | 78 69 74 00 00 27 74 65 |f not, e|xit..'te|
|00000430| 73 74 31 3a 20 20 80 7e | 2e 62 20 20 20 28 61 30 |st1: .~|.b (a0|
|00000440| 29 2b 2c 64 30 00 20 20 | 20 20 20 20 20 20 20 80 |)+,d0. | .|
|00000450| 48 20 20 20 20 20 20 27 | 65 78 69 74 20 20 20 20 |H '|exit |
|00000460| 20 20 20 3b 20 73 65 63 | 6f 6e 64 20 73 74 72 69 | ; sec|ond stri|
|00000470| 6e 67 20 69 73 20 65 6e | 64 65 64 00 20 20 20 20 |ng is en|ded. |
|00000480| 20 20 20 20 20 80 5c 2e | 62 20 20 20 20 64 30 2c | .\.|b d0,|
|00000490| 64 35 20 20 20 20 20 20 | 20 3b 20 54 72 61 69 6c |d5 | ; Trail|
|000004a0| 69 6e 67 20 73 70 61 63 | 65 3f 00 20 20 20 20 20 |ing spac|e?. |
|000004b0| 20 20 20 20 80 48 20 20 | 20 20 20 20 27 74 65 73 | .H | 'tes|
|000004c0| 74 31 20 20 20 20 20 20 | 3b 20 79 65 73 2c 20 6b |t1 |; yes, k|
|000004d0| 65 65 70 20 67 6f 69 6e | 67 00 20 20 20 20 20 20 |eep goin|g. |
|000004e0| 20 20 20 80 58 20 20 20 | 20 20 20 27 65 78 69 74 | .X | 'exit|
|000004f0| 00 00 27 74 65 73 74 32 | 3a 20 20 80 5c 2e 62 20 |..'test2|: .\.b |
|00000500| 20 20 20 64 31 2c 64 35 | 20 20 20 20 20 20 20 3b | d1,d5| ;|
|00000510| 20 54 72 61 69 6c 69 6e | 67 20 73 70 61 63 65 3f | Trailin|g space?|
|00000520| 00 20 20 20 20 20 20 20 | 20 20 80 50 20 20 20 20 |. | .P |
|00000530| 20 20 27 65 78 69 74 20 | 20 20 20 20 20 20 3b 20 | 'exit | ; |
|00000540| 79 65 73 2c 20 6b 65 65 | 70 20 67 6f 69 6e 67 00 |yes, kee|p going.|
|00000550| 20 20 20 20 20 20 20 20 | 20 80 7e 2e 62 20 20 20 | | .~.b |
|00000560| 28 61 31 29 2b 2c 64 31 | 00 20 20 20 20 20 20 20 |(a1)+,d1|. |
|00000570| 20 20 80 50 20 20 20 20 | 20 20 27 74 65 73 74 32 | .P | 'test2|
|00000580| 00 00 27 65 78 69 74 3a | 20 20 20 80 43 2e 77 20 |..'exit:| .C.w |
|00000590| 20 20 23 24 30 30 46 46 | 2c 64 30 20 20 20 3b 20 | #$00FF|,d0 ; |
|000005a0| 6d 61 6b 65 20 73 75 72 | 65 20 74 68 61 74 20 74 |make sur|e that t|
|000005b0| 6f 70 20 62 79 74 65 20 | 6f 66 20 77 6f 72 64 20 |op byte |of word |
|000005c0| 69 73 20 63 6c 65 61 72 | 00 20 20 20 20 20 20 20 |is clear|. |
|000005d0| 20 20 80 43 2e 77 20 20 | 20 23 24 30 30 46 46 2c | .C.w | #$00FF,|
|000005e0| 64 31 20 20 20 3b 20 6d | 61 6b 65 20 73 75 72 65 |d1 ; m|ake sure|
|000005f0| 20 74 68 61 74 20 74 6f | 70 20 62 79 74 65 20 6f | that to|p byte o|
|00000600| 66 20 77 6f 72 64 20 69 | 73 20 63 6c 65 61 72 00 |f word i|s clear.|
|00000610| 20 20 20 20 20 20 20 20 | 20 80 a7 2e 77 20 20 20 | | ...w |
|00000620| 20 64 31 2c 64 30 20 20 | 20 20 20 20 20 3b 20 67 | d1,d0 | ; g|
|00000630| 65 74 20 72 65 74 75 72 | 6e 20 72 65 73 75 6c 74 |et retur|n result|
|00000640| 00 20 20 20 20 20 20 20 | 20 20 80 11 00 80 02 20 |. | ..... |
|00000650| 80 09 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+